<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<c:forEach items="${searchResult}" var="item" varStatus="index">
	<c:choose>
		<c:when test="${(index.count mod 2) == 0}">
			<div class="col2">
		</c:when>
		<c:otherwise>
			<div class="col1">
		</c:otherwise>
	</c:choose>
	<a href="#" id="image_product" style="height: 99; width: 148"> <img
		width="148" height="99"
		src="/realestate/resources/images/product/2519_a.jpg" />
	</a>
	<div id="information_detail">
		<div id="characteristic">River Side*</div>
		<div id="characteristic">Room: ${item.room}</div>
		<div id="characteristic">Bethroom: ${item.room}</div>
		<div id="characteristic">Sqft: ${item.SQRT}</div>
		<div id="price">
			Price:
			<div id="highlight">${item.price}</div>
		</div>
	</div>
	<div id="address">${item.address}</div>
	<a href="productDetail.html" id="address_detail">
		${item.productName} </a>
	</div>
</c:forEach>